﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DCT.CodeBox.BMS.Code.DataModels
{
    /// <summary>
    /// 用户数据
    /// </summary>
    public class UserDataModel : BaseDataModel
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 自动登录标识
        /// </summary>
        public string AutoLoginToken { get; set; }
        
        /// <summary>
        /// 用户状态
        /// </summary>
        public UserStatus Status { get; set; }

        public override string GetIdentifier()
        {
            return this.UserName;
        }
    }
}
